{{indexmenu_n>38}}

====== Test Questions (Early) ======


Where is the hidden (set in configuration settings) Sidebar Page located?:
  * [[opencpn:sidebar]]


We normally have a full Table of Contents here with all the html for the book following, in one long page.
Then the Left Sidebar has the 4 Books Navigation and OpenCPN User Manual expanded with all the next level pages showing.  http://opencpn.org/ocpn/opencpn_manual

===== Questions =====

  * Why isn't this top page showing the sidebar?
  * Is there a way of showing the top title of a given page in the Sidebar rather than the file name?
  * Is there a way of hiding the "sidebar" page so it is not seen by users?
  * 

====== Sidebar indexmenu>:#2\js  ======

{{indexmenu>:#2|js}}

====== Sidebar indexmenu>:#2|js navbar msort ======
{{indexmenu>:opencpn:opencpn_user_manual#2|js navbar msort}}


====== Sidebar %%indexmenu_n>18%%  ======
 
%%{{indexmenu_n>18}}%%

==== Book Navigation ====
  * [[opencpn:developer_manual|Developer Manual]]
  * [[opencpn:supplementary_hardware|Supplemenatry Hardware]]
  * [[opencpn:supplementary_software#5|Supplementary Software]]
  * [[opencpn:opencpn_user_manual|OpenCPN User Manual]]
==== User Manual Pages ====

{{indexmenu>:opencpn:opencpn_user_manual#5|navbar context msort nons}}


[[sidebar|Book Navigation - left column]]

  - Use the default Template or other template that supports a "sidebar" page
  - Make a "sidebar" page just under the namespace (or book).
  - Insert the Indexmenu into the sidebar page.
  - Everything entered into the sidebar page is displayed in the left column.
  - Set the order of pages with msort[#meta]  see http://zigi.cc.fmph.uniba.sk/dokuwiki/wiki/indexmenu
  - In Sidebar put "indexmenu>:opencpn:opencpn_user_manual#5|navbar context msort nons"
  - Upper left corner put "indexmenu_n>12" (in double brackets) of each page, change number for position.
  - 


Sort pages by a custom metadata information. Without the optional meta parameter, it'll be used the custom sorting number specified with the {{indexmenu_n>N}} syntax (read below for more infos). meta should refer to the data structure (Array values are managed throught the “:“ separator, for example: „msort#date:modified). 


=== In the default dokuwiki template you set the sidebar page(s) ===

in the config options:

 https://www.dokuwiki.org/config:sidebar.  

You can hide the sidebar page itself in the indexmenu options, which gives you a choice of which pages to hide, using a regular expression.  In my case, I have the sidebar page set to :wiki:sidebar.  To hide it I use a simple regex: /sidebar/.

Indexmenu is fairly complex in its offering of options, so you can experiment and get what you find it an ideal


https://www.dokuwiki.org/config
Headpage method: the page from which retrieve the title and link of a namespace.
Can be any of this value:

    The global start page.
    A page with the namespace name and that is inside it.
    A page with the namespace name and that is at its same level.
    A custom name page.
    A comma separated list of page names.

